package com.xjh.basestudy.javabase.exception.SelfExcpetion;
//自定义异常继承Exception
public class ScoreException extends Exception{
    //自定义异常的无参构造
    public ScoreException(){
    }
    //自定义异常的有参构造
    public ScoreException(String message){
        super(message);//将message(想要打印的异常信息为字符串)传给它的父亲
    }
}
